import { reactive } from 'vue'

const useMessage = () => {
  const message = reactive({
    x: 100,
    y: 200
  })

  const change = () => {
    message.x = 10000
  }

  return {
    change,
    message
  }
}

export default useMessage